/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Request;

import Request.Request;
import Request.RequestType;
import AccManager.UserProfile;
/**
 *
 * @author lcy
 */
public class UserListRequest extends Request {

    private String _profile;

    public UserListRequest(){
        _profile = "";
        InitCommComponents();
    }

    public UserListRequest(String name){
        _profile = name;
        InitCommComponents();
    }

    public UserListRequest(UserListRequest request){
        this((String)request.GetRequestContent());
        InitCommComponents();
    }

    private void InitCommComponents(){
        _request_type = RequestType.USERLIST;
    }


    public Object GetRequestContent(){

        return _profile;
    }
}
